package com.kajespero.jdo;

import java.io.Serializable;
import java.util.Collection;

import javax.jdo.Query;

public interface ICritereria extends Serializable{
	
	public static final String DESC ="DESC";
	
	public static final String ASC = "ASC";
	
	public void addOrder(String prop, String order);

	public void addProperty(String prop, Object value);
	
	public Collection<Object> getValues();
	
	public Collection<String> getProperties();
	
	public Collection<String> getOrders();
	
	public Collection<String> getFilters();
	
	public Collection<String> getDeclararedParameters();
	
	public <T extends Serializable> Collection<T> executeCriteria();
	
	public Query createQuery();
	
}
